package com.wanxi.util;

public class ChangeTye {
    public static void main(String[] args) {
//        int a=0;
//        char b='a';
//        System.out.println(a=b);
//        double a = 10 + 12.3;
//        double b = 10 + 'a' + 12.3;
//        byte n1 = 10;
//        byte n2 = 10;
//        int n3 = n1 + n2;
        byte a = 0;
        int b = 0;
        a += b;//做了一个隐式的强制转换(推荐)
        a = (byte) (a + b);//显示的强制转换
        a += 3;//每次加3

        System.out.println(a);

    }
}
